package javaCode;

/**
 * Created by lxy_920912 on 04/05/2017.
 */
public class LeetCode521 {
    public int findLUSlength(String a, String b) {
        if(a.equals(b)){
            return -1;
        }
        if(a.length() > b.length()) {
            return a.length();
        }else {
            return b.length();
        }
    }
}
